package main.model.parser;

import java.text.ParseException;
import java.util.HashMap;
import java.util.Map;

/**
 * Null Object to mock out a parser.
 *
 * @author Kevin Gao
 *
 */
public class NullParseStrategy extends ParseStrategy {

    @Override
    public boolean canRead (String filetype) {
        return false;
    }

    @Override
    public Map<String, Object> parseLineToRow (String line) throws ParseException {
        return new HashMap<String, Object>();
    }

    @Override
    public void setHeaders (String line) {
        return;
    }

}
